package org.snia.server.dispatcher;

import java.util.Map;

import org.snia.cdmi.auth.Principal;
import org.snia.cdmi.model.AccessControlList;
import org.snia.cdmi.model.Container;
import org.snia.cdmi.model.ContainerProperties;
import org.snia.cdmi.model.DataObject;
import org.snia.cdmi.model.DataObjectProperties;
import org.snia.cdmi.model.InputDataObject;
import org.snia.cdmi.model.MetaDataObject;

/**
 * 元数据采用共享存储方式，缓存与执行服务器同机部署
 * @author Administrator
 *
 */
public class ShareMetaDispatcher implements Dispatcher{

	@Override
	public void setAuthorization(Principal principal) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void createContainer(Container container) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void deleteContainer(String name) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void setAccessControlPolicy(String name, AccessControlList acl) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public Map<String, String> getAccessControlList(String name) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public ContainerProperties getProperties(String name, boolean withMetadata) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void setUserMetadata(String name, Map<String, String> meta) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public Map<String, String> getUserMetadata(String name) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void createDataObject(InputDataObject object) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void deleteDataObject(String container, String objectUri) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public DataObject getDataObject(String container, String objectUri) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void setAccessControlPolicy(String container, String objectUri,
			AccessControlList acl) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void setUserMetadata(String container, String objectUri,
			Map<String, String> mapMeta) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public Map<String, String> getUserMetadata(String container,
			String objectUri) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public DataObjectProperties getProperties(String container,
			String objectUri, boolean withMetadata) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Map<String, String> getAccessControlList(String container,
			String objectUri) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public MetaDataObject copyDataObject(String source, String container,
			String objectUri, boolean replaceFlag) {
				return null;
		// TODO Auto-generated method stub
	}

}
